<template>
  <div>
    <common-page
      ref="common"
      :ccode="ccode"
      @hook:created="commonCreated"
      @btnClick="btnClick"
    />
  </div>
</template>

<script>
export default {
  name: 'DemoTest',
  data() {
    return {

    }
  },
  computed: {
    ccode: function(){
      return this.$route.meta.code
    }
  },
  mounted: function() {
  },
  methods: {
    commonCreated() {
    },
    btnClick({ btn, currentRow, selectionRows, form, instance }){
      console.log(btn);
      console.log('currentRow',currentRow);
      console.log('selectionRows', selectionRows);
      console.log('form', form);
      console.log('instance', instance);
    },
  }
}
</script>

<style lang="scss" scoped>

</style>
